<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />

    <!-- 基础图标 -->
    <link rel="icon" type="image/svg+xml" href="/icon.svg" />
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />

    <!-- PWA相关 -->
    <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
    <link rel="mask-icon" href="/icon.svg" color="#409EFF" />
    <meta name="theme-color" content="#409EFF" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="default" />
    <meta name="apple-mobile-web-app-title" content="RickPan" />

    <!-- 基础meta -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="RickPan - 企业级文件管理平台，支持AI助手、文件存储、团队协作" />
    <meta name="keywords" content="文件管理,企业网盘,云存储,文件分享,AI助手,PWA应用" />

    <!-- {{ AURA-X: Add - 添加Content Security Policy配置，解决Electron安全警告. Approval: 寸止(ID:fix-electron-csp). }} -->
    <!-- Content Security Policy for Electron -->
    <meta http-equiv="Content-Security-Policy" content="
      default-src 'self';
      script-src 'self' 'unsafe-inline' 'unsafe-eval' https://unpkg.com;
      style-src 'self' 'unsafe-inline' https://unpkg.com;
      img-src 'self' data: blob: https:;
      font-src 'self' data: https://unpkg.com;
      connect-src 'self' ws: wss: http: https:;
      media-src 'self' blob: http://localhost:8080;
      frame-src 'self' blob: data: http://localhost:9000 https:;
      worker-src 'self' blob: https://unpkg.com;
      object-src 'none';
      base-uri 'self';
      form-action 'self';
    " />

    <title>RickPan 企业网盘</title>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
